-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8348678: [PPC64] C2: unaligned vector load/store is ok #23318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8348678: [PPC64] C2: unaligned vector load/store is ok #23318
Conversation
|
👋 Welcome back rrich! A progress list of the required criteria for merging this PR into |
|
@reinrich This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 40 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
/issue JDK-8343906 |
|
@reinrich |
Webrevs
|
|
@offamitkumar JDK-8343906 states that the test also fails on s390x. jdk/src/hotspot/cpu/s390/matcher_s390.hpp Lines 42 to 45 in ad01dfb
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bringing this up to date!
The old code was for Power7. ISA V2.06 specified "If EA is not word-aligned (that is, EA{62:63}g0b00),
the system alignment error handler is permitted to be invoked instead of performing the storage access."
This was updated for Power8. ISA V2.07 removed that limitation and we require Power8 for SuperwordUseVSX. So, arbitrary alignment is ok.
|
Should |
|
Thanks for looking at this.
Ah, indeed. But I think there's an issue though with the displacement which needs to be 4 byte aligned, doesn't it? Maybe that's why |
|
The displacement should be handled by the |
Of course. I should play more often with them AD files.
Done. |
|
Thanks for the reviews. |
|
Going to push as commit 1a8212e.
Your commit was automatically rebased without conflicts. |
This pr changes
Matcher::misaligned_vectors_okto returntrueon PPC64 for better vectorization duringSuperWord.IR checking of the corresponding test
TestCastX2NotProcessedIGVN.javais also enabled.Tested with
TestCastX2NotProcessedIGVN.javaThe change passed our CI testing:
Tier 1-4 of hotspot and jdk. All of langtools and jaxp. Renaissance Suite and SAP specific tests.
Testing was done on the main platforms and also on Linux/PPC64le and AIX.
Progress
Issues
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23318/head:pull/23318$ git checkout pull/23318Update a local copy of the PR:
$ git checkout pull/23318$ git pull https://git.openjdk.org/jdk.git pull/23318/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23318View PR using the GUI difftool:
$ git pr show -t 23318Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23318.diff
Using Webrev
Link to Webrev Comment